Optimal. Leaf size=453 \[ -\frac{b^2 c d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c x)}\right )}{\sqrt{c x-1} \sqrt{c x+1}}+\frac{3 b c^3 d x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 \sqrt{c x-1} \sqrt{c x+1}}-\frac{3}{2} c^2 d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{2 b \sqrt{c x-1} \sqrt{c x+1}}+\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt{c x-1} \sqrt{c x+1}}+\frac{b c d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{c x-1} \sqrt{c x+1}}-\frac{\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac{2 b c d \sqrt{d-c^2 d x^2} \log \left (e^{-2 \cosh ^{-1}(c x)}+1\right ) \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{c x-1} \sqrt{c x+1}}-\frac{1}{4} b^2 c^2 d x \sqrt{d-c^2 d x^2}-\frac{5 b^2 c d \sqrt{d-c^2 d x^2} \cosh ^{-1}(c x)}{4 \sqrt{c x-1} \sqrt{c x+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.965913, antiderivative size = 465, normalized size of antiderivative = 1.03, number of steps used = 15, number of rules used = 14, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.483, Rules used = {5798, 5740, 5683, 5676, 5662, 90, 52, 5727, 5660, 3718, 2190, 2279, 2391, 38} \[ \frac{b^2 c d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (2,-e^{2 \cosh ^{-1}(c x)}\right )}{\sqrt{c x-1} \sqrt{c x+1}}+\frac{3 b c^3 d x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 \sqrt{c x-1} \sqrt{c x+1}}-\frac{3}{2} c^2 d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{2 b \sqrt{c x-1} \sqrt{c x+1}}-\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt{c x-1} \sqrt{c x+1}}+\frac{b c d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{c x-1} \sqrt{c x+1}}-\frac{d (1-c x) (c x+1) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac{2 b c d \sqrt{d-c^2 d x^2} \log \left (e^{2 \cosh ^{-1}(c x)}+1\right ) \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{c x-1} \sqrt{c x+1}}-\frac{1}{4} b^2 c^2 d x \sqrt{d-c^2 d x^2}-\frac{5 b^2 c d \sqrt{d-c^2 d x^2} \cosh ^{-1}(c x)}{4 \sqrt{c x-1} \sqrt{c x+1}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 5798
Rule 5740
Rule 5683
Rule 5676
Rule 5662
Rule 90
Rule 52
Rule 5727
Rule 5660
Rule 3718
Rule 2190
Rule 2279
Rule 2391
Rule 38
Rubi steps
\begin{align*} \int \frac{\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x^2} \, dx &=-\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \int \frac{(-1+c x)^{3/2} (1+c x)^{3/2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x^2} \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}-\frac{\left (2 b c d \sqrt{d-c^2 d x^2}\right ) \int \frac{\left (-1+c^2 x^2\right ) \left (a+b \cosh ^{-1}(c x)\right )}{x} \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (3 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2 \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{b c d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{3}{2} c^2 d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac{\left (2 b c d \sqrt{d-c^2 d x^2}\right ) \int \frac{a+b \cosh ^{-1}(c x)}{x} \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (3 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (b^2 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \sqrt{-1+c x} \sqrt{1+c x} \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (3 b c^3 d \sqrt{d-c^2 d x^2}\right ) \int x \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{1}{2} b^2 c^2 d x \sqrt{d-c^2 d x^2}+\frac{3 b c^3 d x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{b c d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{3}{2} c^2 d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{2 b \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (2 b c d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int (a+b x) \tanh (x) \, dx,x,\cosh ^{-1}(c x)\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (b^2 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{1}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (3 b^2 c^4 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x^2}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{1}{4} b^2 c^2 d x \sqrt{d-c^2 d x^2}-\frac{b^2 c d \sqrt{d-c^2 d x^2} \cosh ^{-1}(c x)}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{3 b c^3 d x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{b c d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{3}{2} c^2 d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2-\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{2 b \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (4 b c d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{e^{2 x} (a+b x)}{1+e^{2 x}} \, dx,x,\cosh ^{-1}(c x)\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (3 b^2 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{1}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{4 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{1}{4} b^2 c^2 d x \sqrt{d-c^2 d x^2}-\frac{5 b^2 c d \sqrt{d-c^2 d x^2} \cosh ^{-1}(c x)}{4 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{3 b c^3 d x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{b c d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{3}{2} c^2 d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2-\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{2 b \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c x)}\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (2 b^2 c d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{1}{4} b^2 c^2 d x \sqrt{d-c^2 d x^2}-\frac{5 b^2 c d \sqrt{d-c^2 d x^2} \cosh ^{-1}(c x)}{4 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{3 b c^3 d x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{b c d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{3}{2} c^2 d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2-\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{2 b \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c x)}\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (b^2 c d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{\log (1+x)}{x} \, dx,x,e^{2 \cosh ^{-1}(c x)}\right )}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{1}{4} b^2 c^2 d x \sqrt{d-c^2 d x^2}-\frac{5 b^2 c d \sqrt{d-c^2 d x^2} \cosh ^{-1}(c x)}{4 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{3 b c^3 d x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{b c d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{3}{2} c^2 d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2-\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac{c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{2 b \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b c d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c x)}\right )}{\sqrt{-1+c x} \sqrt{1+c x}}+\frac{b^2 c d \sqrt{d-c^2 d x^2} \text{Li}_2\left (-e^{2 \cosh ^{-1}(c x)}\right )}{\sqrt{-1+c x} \sqrt{1+c x}}\\ \end{align*}
Mathematica [A] time = 3.98464, size = 433, normalized size = 0.96 \[ \frac{-8 b^2 d \sqrt{d-c^2 d x^2} \left (3 c x \text{PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c x)}\right )+\cosh ^{-1}(c x) \left (3 \sqrt{\frac{c x-1}{c x+1}} (c x+1) \cosh ^{-1}(c x)-c x \left (\cosh ^{-1}(c x) \left (\cosh ^{-1}(c x)+3\right )+6 \log \left (e^{-2 \cosh ^{-1}(c x)}+1\right )\right )\right )\right )+36 a^2 c d^{3/2} x \sqrt{\frac{c x-1}{c x+1}} (c x+1) \tan ^{-1}\left (\frac{c x \sqrt{d-c^2 d x^2}}{\sqrt{d} \left (c^2 x^2-1\right )}\right )-12 a^2 d \sqrt{\frac{c x-1}{c x+1}} (c x+1) \left (c^2 x^2+2\right ) \sqrt{d-c^2 d x^2}-24 a b d \sqrt{d-c^2 d x^2} \left (2 \sqrt{\frac{c x-1}{c x+1}} (c x+1) \cosh ^{-1}(c x)-c x \left (2 \log (c x)+\cosh ^{-1}(c x)^2\right )\right )+6 a b c d x \sqrt{d-c^2 d x^2} \left (\cosh \left (2 \cosh ^{-1}(c x)\right )+2 \cosh ^{-1}(c x) \left (\cosh ^{-1}(c x)-\sinh \left (2 \cosh ^{-1}(c x)\right )\right )\right )+b^2 c d x \sqrt{d-c^2 d x^2} \left (4 \cosh ^{-1}(c x)^3+6 \cosh \left (2 \cosh ^{-1}(c x)\right ) \cosh ^{-1}(c x)-3 \left (2 \cosh ^{-1}(c x)^2+1\right ) \sinh \left (2 \cosh ^{-1}(c x)\right )\right )}{24 x \sqrt{\frac{c x-1}{c x+1}} (c x+1)} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.329, size = 942, normalized size = 2.1 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{{\left (a^{2} c^{2} d x^{2} - a^{2} d +{\left (b^{2} c^{2} d x^{2} - b^{2} d\right )} \operatorname{arcosh}\left (c x\right )^{2} + 2 \,{\left (a b c^{2} d x^{2} - a b d\right )} \operatorname{arcosh}\left (c x\right )\right )} \sqrt{-c^{2} d x^{2} + d}}{x^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac{3}{2}} \left (a + b \operatorname{acosh}{\left (c x \right )}\right )^{2}}{x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (-c^{2} d x^{2} + d\right )}^{\frac{3}{2}}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}^{2}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]